package com.turing.post.cardmanagement.util;

import java.util.List;

import com.turing.post.util.PCPSApplicationException;

/**
 * @author zxp
 * @Apr 11, 2013
 */
public interface AppCardApduBusiness {
	/**
	 * 创建CPU卡根文件系统返回创建的APDU指令列表
	 * 
	 * @param am
	 * @param cardNo
	 * @return
	 */
	public List<String> CreateRootFileSystem(AppManagement am, String cardNo)
			throws PCPSApplicationException;

	/**
	 * 创建APP文件系统返回创建的APDU指令列表
	 * 
	 * @param am
	 * @param cardNo
	 * @return
	 */
	public List<String> CreateAppFileSystem(AppManagement am, String cardNo)
			throws PCPSApplicationException;

	/**
	 * 卡发行返回个人化的APDU指令列表
	 * 
	 * @param am
	 * @param cardNo
	 * @return
	 */
	public List<String> CardIssue(AppManagement am, String cardNo)
			throws PCPSApplicationException;

	/**
	 * 圈存初始化返回APDU指令列表
	 * 
	 * @param am
	 * @param loadSeqNo
	 * @return
	 */
	public List<String> CardLoadInit(AppManagement am, String loadSeqNo)
			throws PCPSApplicationException;

	/**
	 * 圈存返回APDU指令列表
	 * 
	 * @param am
	 * @param loadSeqNo
	 * @return
	 */
	public List<String> CardLoad(AppManagement am, String loadSeqNo)
			throws PCPSApplicationException;
}
